html{
    background-color: #ffebcd;
}
body{
    margin: 0;
    padding: 0;
    background-color: #ffebcd;
    font-family: Helvetica,Arial,"Hiragino Sans GB","Microsoft Yahei","微软雅黑",STHeiti,"华文细黑",sans-serif;
}
#todo{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 3px auto;
    padding: 0;
    color: #333;
    max-width: 680px;
    min-height: 666px;
    background-color: #f3f3f3;
    border: 1px solid #8f8f8f;
    box-shadow: 0 0 3px #a7a7a7;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.title{
    margin: 10px 25px;
}
.border{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin: 0px 15px;
}
.add-item{
    display: flex;
    justify-content: space-between;
    margin: 0 8px;
    height: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e7e7e7;
}
.add-item input{
    flex: 1 0 70% ;
    margin-right: 5px;
}
.add-item input:focus{
    outline: none;
}
.add-item button{
    width: 46px;
    border: 1px solid gray;
    border-radius: 3px;
    background-color: #f5f5f5;
}
.add-item button:hover{
    background-color: #e7e7e7;
}
.add-item button:active{
    background-color: #dddddd;
}
.item{
    display: flex;
    justify-content: space-between;
    height: 28px;
    align-items: center;
    padding: 4px 5px 3px 5px;
    border-bottom: 1px solid #e7e7e7;
}
.item:hover{
    background-color: #e7e7e7;
}
.item:hover .icon-del{
    color: #333;
}
.icon-del{
    color: #999;
    cursor: default;
}
.icon-del:hover{
    font-weight: bold;
}
.checkbox{
    text-align: left;
    flex: 0 0 25px;
}
.item-content{
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    cursor: text;
    overflow: hidden;
}
.item-content span{
    display: inline-block;
    padding-left: 3px;
    height: 22px;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid transparent;
}
.item-content span:focus{
    outline-color: gray;
    outline-style: dashed;
    border: 1px dashed gray;
}
.item-edit{
    flex:0 0 25px;
    text-align: center;
    white-space:nowrap;
}
.go-back button{
    font-size: 0.7em;
}
.section-line{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    color: gray;
    font-size: 0.9em;
    border-bottom: 1px solid #e7e7e7;
}
.footer{
    display: flex;
    position: relative;
    justify-content: center;
    background-color: #e2e2e2;
    font-size: 0.8em;
    color: #999;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.footer a{
    color: #999;
    text-decoration: none;
    cursor: pointer;
}
.footer a:hover{
    color: #6495ed;
}
.footer a:active{
    color: blue;
}
.trash-cursor{
    cursor: pointer;
    background-color: #cacaca;
}
.background-lines{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    background: linear-gradient(180deg, #f3f3f3, #f3f3f3 36px, #e7e7e7 36px, #e7e7e7 36px);
    background-size: 100% 37px;
}